package cn.ranko.shiro.bean.authority;

import java.util.List;

/**
 * Created by zhujun on 2017/8/13.
 *
 * 左侧的菜单栏的结构，层次关系
 *
 */
public class Menu {

    /**
     * 菜单的文字描述
     */
    private String menutext;
    /**
     * 菜单的权限，用于shiro进行权限控制
     */
    private String menupermission;

    private List<MenuItem> menuItems;

    public String getMenutext() {
        return menutext;
    }

    public void setMenutext(String menutext) {
        this.menutext = menutext;
    }

    public String getMenupermission() {
        return menupermission;
    }

    public void setMenupermission(String menupermission) {
        this.menupermission = menupermission;
    }

    public List<MenuItem> getMenuItems() {
        return menuItems;
    }

    public void setMenuItems(List<MenuItem> menuItems) {
        this.menuItems = menuItems;
    }
}
